<include file="Member:header"/>
<div id="content">
    <div class="flow-steps">
        <ol class="num5">
            <li class="current">
                <span class="first">1. 查看购物车</span>
            </li>
            <li>
                <span>2. 输入订单信息</span>
            </li>
            <li class="last">
                <span>3. 完成订单</span>
            </li>
        </ol>
    </div>
    <!--end flow-steps-->
    <div id="cart">
        <table cellspacing="0" cellpadding="0" id="J_CartEnable" class="order-table">
            <thead>
                <tr>
                    <th class="s-chk">
                        商品
                    </th>
                    <th class="s-price">
                        单价(元)
                    </th>
                    <th class="s-amount">
                        数量
                    </th>
                    <th class="s-total">
                        小计(元)
                    </th>
                    <th class="s-del">
                        操作
                    </th>
                </tr>
            </thead>
            <tbody id="cart_list">
                <tr>
                    <td colspan="5" height="10">
                    </td>
                </tr>
                <empty name="datalist">
                    <tr class="uncod">
                        <td colspan="5" height="10" align="center">
                            空
                        </td>
                    </tr>
                </empty>
                <volist name="datalist" id="vo">
                    <tr class="uncod <eq name="i" value="1">
 border_line
                    </eq>" id="cart_tr_{$vo.cart_id}">
                    <td class="s-chk">
                        <a title="" target="_blank" href="{:U('Good/show?good_id='.$vo['good_id'])}" class="blue">{$vo['good_img']|advstr='60px','60px',$srcpre.'_thumbs/','class:itempic'}{$vo.good_name}</a>
                        <br/>
                        {$vo['good_attr']}
                    </td>
                    <td class="s-price">
                        <em>{$vo.good_price}</em>
                    </td>
                    <td class="s-amount">
                        {$vo.good_num}
                    </td>
                    <td class="s-total">
                        <em>{$vo.total}</em>
                    </td>
                    <td class="s-del">
                        <a class="red" href="#nogo" onclick="removeCart({$key})">删除</a>
                    </td>
                </tr>
                </volist>
                <tr>
                    <td height="10" colspan="5">
                    </td>
                </tr>
            </tbody>
            <notempty name="datalist">
                <tr class="pice_js">
                    <td colspan="5">
                        运费：<span class="pice">{$freight_fee}</span>
                        元&nbsp;&nbsp;&nbsp;&nbsp;订单总金额：<span class="pice">{$final_fee}</span>元
                    </td>
                </tr>
            </notempty>
        </table>
    </div>
    <!--订单信息 start-->
    <div class="sut_box">
        <a href="{:U('Index/index')}" class="c_shop mr">继续购物</a>
        <a href="{:U('Orderform/create')}" class="Settlement">去结算</a>
    </div>
    <!--订单信息 end-->
</div>
<include file="Layout:footer"/>